package com.woniuxy.user.service;


import com.woniuxy.commons.request.ResPage;
import com.woniuxy.user.dto.EmployeeDto;
import com.woniuxy.user.dto.UserInfoDto;
import com.woniuxy.user.vo.*;

public interface UserService {


    UserInfoDto findById(Integer id);

    Boolean checkPass(LoginVo loginVo);

    Boolean updatePassword(LoginVo loginVo);

    ResPage<EmployeeDto> getEmployeeList(EmployeeVo employeeVo);

    Boolean addEmployee(AddEmployeeVo addEmployeeVo);

    Boolean editEmployee(AddEmployeeVo addEmployeeVo);

    Boolean checkUname(String uname);

    Boolean enableAccount(Integer id);

    Boolean disableAccount(Integer id);

    Boolean deleteEmployee(Integer id, Integer did);

    BGVo findBorrowerAndGuarantee();

    Boolean registerConsumer(RegisterVo registerVo);
}
